package com.jr.service;

import com.jr.pojo.BookingStation;
import com.jr.pojo.Station;
import com.jr.uitil.PageHelper;
import com.jr.vo.MyBooking;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

public interface IBookingStation {
    //根据区域获得该区域所所有的工位
    ArrayList<Station> queryStation(String session);


    //插入选择的工位
    boolean addBookingStation(BookingStation b);
    //查看个人预定的工位
    ArrayList<MyBooking> queryMyBooking(MyBooking mb, @Param("pageindex") Integer pageindex,@Param("shownum") Integer shownum);

    BookingStation queryDuplicateBooking(BookingStation b);

    boolean updateMyBookingStatus(BookingStation b);






}
